import request from "@/utils/request";

export function page(data) {
  return request({
    url: "/v1/device-shell/page",
    method: "get",
    params: data
  });
}

export function save(data) {
  return request({
    url: "/v1/device-shell/save",
    method: "post",
    data
  });
}

export function update(data) {
  return request({
    url: "/v1/device-shell/update",
    method: "post",
    data
  });
}

export function shell(data) {
  return request({
    url: "/v1/device-shell/shell",
    method: "get",
    params: data
  });
}
